package com.myspring.resttest.error;

import org.springframework.http.HttpStatus;

public class RestError {
	private HttpStatus	status;
	private int			appSpecificStatus;
	private String		errorString;

	public RestError(HttpStatus status, int appSpecificStatus,
			String errorString) {
		super();
		this.status = status;
		this.appSpecificStatus = appSpecificStatus;
		this.errorString = errorString;
	}

	public HttpStatus getStatus() {
		return status;
	}

	public void setStatus(HttpStatus status) {
		this.status = status;
	}

	public int getAppSpecificStatus() {
		return appSpecificStatus;
	}

	public void setAppSpecificStatus(int appSpecificStatus) {
		this.appSpecificStatus = appSpecificStatus;
	}

	public String getErrorString() {
		return errorString;
	}

	public void setErrorString(String errorString) {
		this.errorString = errorString;
	}

}
